import request from '@/utils/request.js'

const userApi = {
    list(userQuery) {
        return request.get('/user/list', {params: userQuery})
    },
    updateStatus(id, status) {
        return request.put(`/user/updateStatus/${id}/${status}`)
    },
    selectAll() {
        return request.get('/user/selectAll')
    }
}

export default userApi